Optimal. Leaf size=13 \[ -\frac{x^3}{3}-x+\tanh ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.010937, antiderivative size = 13, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.231, Rules used = {1584, 302, 206} \[ -\frac{x^3}{3}-x+\tanh ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1584
Rule 302
Rule 206
Rubi steps
\begin{align*} \int \frac{x^5}{x-x^3} \, dx &=\int \frac{x^4}{1-x^2} \, dx\\ &=\int \left (-1-x^2+\frac{1}{1-x^2}\right ) \, dx\\ &=-x-\frac{x^3}{3}+\int \frac{1}{1-x^2} \, dx\\ &=-x-\frac{x^3}{3}+\tanh ^{-1}(x)\\ \end{align*}
Mathematica [B] time = 0.004208, size = 29, normalized size = 2.23 \[ -\frac{x^3}{3}-x-\frac{1}{2} \log (1-x)+\frac{1}{2} \log (x+1) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 22, normalized size = 1.7 \begin{align*} -{\frac{{x}^{3}}{3}}-x-{\frac{\ln \left ( -1+x \right ) }{2}}+{\frac{\ln \left ( 1+x \right ) }{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.06704, size = 28, normalized size = 2.15 \begin{align*} -\frac{1}{3} \, x^{3} - x + \frac{1}{2} \, \log \left (x + 1\right ) - \frac{1}{2} \, \log \left (x - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.50523, size = 65, normalized size = 5. \begin{align*} -\frac{1}{3} \, x^{3} - x + \frac{1}{2} \, \log \left (x + 1\right ) - \frac{1}{2} \, \log \left (x - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 0.093696, size = 19, normalized size = 1.46 \begin{align*} - \frac{x^{3}}{3} - x - \frac{\log{\left (x - 1 \right )}}{2} + \frac{\log{\left (x + 1 \right )}}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.19669, size = 31, normalized size = 2.38 \begin{align*} -\frac{1}{3} \, x^{3} - x + \frac{1}{2} \, \log \left ({\left | x + 1 \right |}\right ) - \frac{1}{2} \, \log \left ({\left | x - 1 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]